package com.hfi.my;

import com.hfi.dao.EmployeeMapper;
import com.hfi.model.Employee;

/**
 * @author ChangLiang
 * @date 2019/5/16
 */
public class BootStrap {

    public static void main(String[] args) {
        MySqlSession sqlSession = new MySqlSession();
        EmployeeMapper mapper = sqlSession.getMapper(EmployeeMapper.class);
        Employee employee = mapper.getEmployeeById(1);
        System.out.println(mapper.getClass());
        System.out.println(employee);
    }
}
